Skip to content
This repository was archived by the owner on Jan 27, 2020. It is now read-only.

Fix RunMultiQC error#657

Merged
szilvajuhos merged 2 commits intoSciLifeLab:devfrom
maxulysse:RunMultiQC
Oct 1, 2018
Merged

Fix RunMultiQC error#657
szilvajuhos merged 2 commits intoSciLifeLab:devfrom
maxulysse:RunMultiQC

Conversation

@maxulysse
Copy link
Copy Markdown
Member

Process GetVersionAll was not working.

2 different issues:

  • Not launching when nothing in directoryMap.version
    -Fixed by adding .ifEmpty(file ("empty")) to the input channel

  • samtools and vcftools where not giving out versions, and somehow blocking the execution of the rest of the process.

    • Fixed by adding 2>&1 || true after launching each tool

PR checklist

  • PR is made against dev branch
  • This comment contains a description of changes (with reason)
  • Ensure the test suite passes (./scripts/test.sh -p docker -t ALL).
  • CHANGELOG.md is updated

@maxulysse maxulysse changed the base branch from master to dev September 26, 2018 14:15
Comment thread runMultiQC.nf
qualimap --version &> v_qualimap.txt
samtools --version &> v_samtools.txt
vcftools --version > v_vcftools.txt
configManta.py --version > v_manta.txt 2>&1 || true
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will be much harder to spot errors with MultiQC if we ignore all potential version fetching errors, no?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it doesn't really matter, because, if a tool is failing, it will be seen when we're really using the tool, not when we want to check its version.
Worst case scenario here, we won't have it display properly.

@szilvajuhos
Copy link
Copy Markdown
Collaborator

Looks OK for me

@szilvajuhos szilvajuhos merged commit 35ce177 into SciLifeLab:dev Oct 1, 2018
@maxulysse maxulysse deleted the RunMultiQC branch October 1, 2018 13:30
jherrero referenced this pull request in UCL-BLIC/Sarek_v2.2.1 Apr 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants